[LINUX][PAE] More fixes to pgd allocation. Since allocating pmds
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 14 Jun 2006 16:06:28 +0000 (17:06 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 14 Jun 2006 16:06:28 +0000 (17:06 +0100)
commit45b183026778376a3295d25c79aeef4dfa6ec21c
tree28c3d7616bd98ddcd5f602fcab1fd3318261a7dc
parenta5e28e588e5d34af10013ecf45786dc90ce0afac
[LINUX][PAE] More fixes to pgd allocation. Since allocating pmds
can sleep, we could race save/restore and end up with stale
machine addresses stores in pgd entries. Avoid this by
remembering virtuall addresses and translating to machine
addresses all at the end and protected by the pgd_lock.
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/i386/mm/pgtable-xen.c